<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>



<head profile="http://gmpg.org/xfn/11">

<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

  

<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>



<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/reset.css" type="text/css" media="screen" />

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />

<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />

<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<link REL="SHORTCUT ICON" HREF="http://casamenteiras.com.br/favicon.ico">

<!--[if IE 6]>

<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/DD_belatedPNG_0.0.7a-min.js"></script>

<script type="text/javascript">

DD_belatedPNG.fix('img');

DD_belatedPNG.fix('a');

DD_belatedPNG.fix('#menulinks');

DD_belatedPNG.fix('.fadeOverlay');

DD_belatedPNG.fix('.inner');

DD_belatedPNG.fix('.searchform');

DD_belatedPNG.fix('input');

DD_belatedPNG.fix('.socialIcons');

DD_belatedPNG.fix('.speechBubble');

</script>

<link href="<?php bloginfo('template_directory'); ?>/ie6.css" rel="stylesheet" type="text/css" media="screen" title="stylesheet">

<![endif]-->

<!--[if lt IE 8]>

<link href="<?php bloginfo('template_directory'); ?>/ie.css" rel="stylesheet" type="text/css" media="screen" title="stylesheet">

<![endif]-->





<?php global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } ?>



<link href="<?php bloginfo('template_directory'); ?>/styles/<?php if($style == "Default (Blue)" || "") { echo "blue"; } if($style=="Green") { echo "green"; } if($style == "Brown") { echo "brown"; } if($style=="Red") { echo "red"; } if($style=="Orange") { echo "orange"; } ?>.css" rel="stylesheet" type="text/css" media="screen" title="stylesheet" />





<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/jquery.js"></script>

<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/script.js"></script>

<script type="text/javascript">		$('title').text('Chá das Panelas');

$(function() {

	<?php if($featuredInterval == "1 second") { $time = "1000"; }

			  if($featuredInterval == "2 seconds") { $time = "2000"; }

			  if($featuredInterval == "3 seconds") { $time = "3000"; }

			  if($featuredInterval == "4 seconds") { $time = "4000"; }

			  if($featuredInterval == "5 seconds") { $time = "5000"; }

			  if($featuredInterval == "6 seconds") { $time = "6000"; }

			  if($featuredInterval == "7 seconds") { $time = "7000"; }

			  if($featuredInterval == "8 seconds") { $time = "8000"; }

			  if($featuredInterval == "9 seconds") { $time = "9000"; }

			  if($featuredInterval == "10 seconds") { $time = "10000"; }

			  if($featuredInterval == "Dont slide automatically") { $time = "0"; }

			  

			  if($time == "0") { } else { ?>

			  	setInterval("changeFeatured()",<?php echo $time; ?>);

			  <?php } ?>

});

</script>



<style type="text/css">

.show1 .dot2, 

.show1 .dot3, 

.show1 .dot4, 

.show1 .dot5, 

.show1 .dot6, 

.show1 .dot7, 

.show1 .dot8, 

.show1 .dot9, 

.show1 .dot10 {

display:none;

}



.show2 .dot3, 

.show2 .dot4, 

.show2 .dot5, 

.show2 .dot6, 

.show2 .dot7, 

.show2 .dot8, 

.show2 .dot9, 

.show2 .dot10 {

display:none;

}



.show3 .dot4, 

.show3 .dot5, 

.show3 .dot6, 

.show3 .dot7, 

.show3 .dot8, 

.show3 .dot9, 

.show3 .dot10 {

display:none;

}



.show4 .dot5, 

.show4 .dot6, 

.show4 .dot7, 

.show4 .dot8, 

.show4 .dot9, 

.show4 .dot10 {

display:none;

}



.show5 .dot6, 

.show5 .dot7, 

.show5 .dot8, 

.show5 .dot9, 

.show5 .dot10 {

display:none;

}



.show6 .dot7, 

.show6 .dot8, 

.show6 .dot9, 

.show6 .dot10 {

display:none;

}



.show7 .dot8, 

.show7 .dot9, 

.show7 .dot10 {

display:none;

}



.show8 .dot9, 

.show8 .dot10 {

display:none;

}



.show9 .dot10 {

display:none;

}



<?php //if($useShadows == "Yes") { ?>

/*

#header h1 a { text-shadow:  #222 2px 2px; }

#header ul#headernav, #footer p { text-shadow:  #222 1px 1px; }

#menulinks ul#nav, ul#featured li h2 a, ul#featured li p, #innerbanner h2, #innerbanner p { text-shadow:  #333 1px 1px; }

.postContainer .heading h2, h2#comments, h2.reply, .widget h3 { text-shadow:  #444 1px 1px; }

.advertWidget h3 { text-shadow: none; }

*/

<?php //} ?>

</style>



<?php wp_get_archives('type=monthly&format=link'); ?>



<?php if ( is_single() ) wp_enqueue_script( 'comment-reply' ); ?>

<?php wp_head(); ?>

<meta name="google-site-verification" content="1T8KqNYByVJz7cnL_gZiVBBoHW0P14MLT4yv0DarCp8" />
<META name="y_key" content="5bf698ac79defb8d">

</head>

<body>
	<?php
		if ( function_exists("adrotate_banner") )
		{	
			echo "".
				"<div id=\"publicidade-super\">".
					"<div id=\"publicidade-super-miolo\">".
						adrotate_banner("1").
					"</div>".
				"</div>";
		};
	?>
	<div id="page">

	

		<div id="header">

				<ul id="social-nav">
					<li class="rss"><a href="http://feeds.feedburner.com/chadaspanelas" target="_blank">RSS</a></li>
					<li class="twitter"><a href="http://twitter.com/chadaspanelas" target="_blank">Twitter</a></li>
					<li class="facebook"><a href="http://www.facebook.com/pages/Casamenteiras/110401952361055" target="_blank">Facebook</a></li>
					<li class="clube"><a href="http://clube.casamenteiras.com.br/" target="_blank">Clube</a></li>
					<li class="youtube"><a href="http://www.youtube.com/casamenteiras" target="_blank">Youtube</a></li>
				</ul>
			<?php /*if($useLogo == "Yes")  { ?>

				<h1><a href="<?php bloginfo('home'); ?>"><img src="<?php if($logo == "") { echo getTemplatePath() ."/images/logo.png"; } else { echo $logo; } ?>" alt="<?php bloginfo('name'); ?>" /></a></h1>

			<?php } else { ?>

				<h1><a href="<?php bloginfo('home'); ?>"><?php bloginfo('name'); ?></a></h1>			

			<?php }*/ ?>

<h1><a href="http://casamenteiras.com.br/"><img src="<?php bloginfo('template_url'); ?>/logo.gif" alt="casamenteiras" /></a></h1>

			
			
			<?php /* wp_page_menu('exclude=5,9,23&menu_class=page-navi&sort_column=menu_order'); */ ?>
			<div class="page-navi">
				<ul>
					<li class="page_item page-item-6587"><a title="Sobre o Blog" href="http://casamenteiras.com.br/chadaspanelas/sobre-este-blog/">Sobre o Blog</a></li>
					<li><a title="Casa com Amor" href="http://casamenteiras.com.br/casacomamor/">Casa com Amor</a></li>
					<li class="page_item page-item-5706"><a title="Contato" href="http://casamenteiras.com.br/chadaspanelas/participe/">Contato</a></li>
					<li><a href="http://casamenteiras.com.br/envie-suas-fotos/">Envie suas fotos</a></li>
					<li class="page_item page-item-2531"><a title="Publicidade" href="http://casamenteiras.com.br/chadaspanelas/publicidade/">Publicidade</a></li>
				</ul>
			</div>


<div style="clear: both; height: 0;"><!-- --></div>
		</div><!-- end header -->
		

	

<div style="width: 960px; height: 200px; float: left;">
<a href="http://casamenteiras.com.br/chadaspanelas/" style="width: 960px; height: 200px; float: left;">
<img src="<?php bloginfo('template_url'); ?>/cabecalho-chadaspanelas.jpg" style="float: left;" />
</a>
</div>

<?php if(is_front_page() || is_home()) { ?>


<div style="clear: both; height: 0;"><!-- --></div>

	<?php } else { ?>

		

		

		<?php if(is_archive()) { ?>

		<div id="innerbanner"><div class="inner">

			<div class="left">

				 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>

			 	  <?php /* If this is a category archive */ if (is_category()) { ?>

					<h2 class="pagetitle"><?php single_cat_title(); ?></h2>

			 	  <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>

					<h2 class="pagetitle"><?php single_tag_title(); ?></h2>

			 	  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>

					<h2 class="pagetitle"><?php the_time('j \d\e F \d\e Y'); ?></h2>

			 	  <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>

					<h2 class="pagetitle"><?php the_time('F \d\e Y'); ?></h2>

			 	  <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>

					<h2 class="pagetitle"><?php the_time('Y'); ?></h2>

				  <?php /* If this is an author archive */ } elseif (is_author()) { ?>

					<h2 class="pagetitle">Arquivos do Autor</h2>

			 	  <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>

					<h2 class="pagetitle">Arquivos</h2>

			 	  <?php } ?>

				<p><?php category_description(); ?></p>

			</div>

			<div class="right"></div>

		<?php } ?>

		

		<?php if(is_search()) { ?>

		<div id="innerbanner"><div class="inner">

			<div class="left">

				<h2>Resultados da Busca para "<?php echo $_GET['s']; ?>"</h2>

			</div>

			<div class="right"></div>

		<?php } ?>

		

		<?php if($thumbScript == "No") { $bannerImage = get_banner_image_noTimThumb($post->ID,"960","270"); } else { $bannerImage = get_banner_image($post->ID, "960","270"); } ?>	

		<?php if(is_single()) { ?>				

		<div id="innerbanner" <?php /*style="background:url(<?php echo $bannerImage; ?>) no-repeat;"*/ ?>><div class="inner">

			<!--<div class="left">

				<h2><a href="<?php the_permalink() ?>"><?php the_title() ?></a></h2>

				<p>Publicado dia <?php the_time('j \d\e F \d\e Y'); ?><br />Na(s) categoria(s) <?php the_category(', '); ?></p>

			</div>-->

			<!--

      <div class="right">

				<p class="speechBubble">Share this post with Digg</p>

				<ul class="socialIcons">

					<li class="a"><a href="http://del.icio.us/post?url=<?php echo get_permalink() ?>&amp;title=<?php the_title(); ?>"></a></li>

					<li class="b"><a href="http://digg.com/submit?phase=2&amp;url=<?php echo get_permalink() ?>&amp;title=<?php the_title(); ?>"></a></li>

					<li class="c"><a href="http://www.furl.net/storeIt.jsp?t=<?php the_title(); ?>&amp;u=<?php echo get_permalink() ?>"></a></li>

					<li class="d"><a href="http://reddit.com/submit?url=<?php the_permalink() ?>&amp;title=<?php the_title() ?>"></a></li>

					<li class="e"><a href="http://www.stumbleupon.com/submit?url=<?php echo get_permalink() ?>&amp;title=<?php the_title(); ?>"></a></li>

					<li class="f"><a href="http://technorati.com/faves?add=<?php the_permalink() ?>"></a></li>

					<li class="g"><a href="http://twitter.com/home/?status=<?php the_title() ?>: <?php the_permalink() ?>"></a></li>

				</ul>

			</div>

			-->

		<?php } ?>

		

		<?php if(is_page()) { ?>

		<div id="innerbanner" <?php /*style="background:url(<?php echo $bannerImage; ?>) no-repeat;"*/ ?>><div class="inner">

			<div class="left">

				<h2><?php the_title(); ?></h2>

				<p><?php echo get_post_meta($post->ID, "pageDescription", true); ?></p>

			</div>

		<?php } ?>

		</div></div><!-- end inner banner -->

	

	<?php } ?>

	

		<div id="breadcrumb">

			<p class="breadcrumb"><?php yoast_breadcrumb(); ?></p>
			
			<?php include(TEMPLATEPATH .'/searchform.php'); ?>

		</div><!-- end breadcrumb -->

		

		

		<div id="mainarea">

		

		<div id="contentarea">